package com.ecfront.dao;

import java.util.List;

import com.ecfront.pojo.Note;

public interface NoteDAO {

	// property constants
	public static final String NTITLE = "titile";
	public static final String NCONTENT = "content";

	public abstract void save(Note transientInstance);

	public abstract void delete(Note persistentInstance);

	public abstract Note findById(java.lang.Integer id);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findByNtitle(Object ntitle);

	public abstract List findByNcontent(Object ncontent);

	public abstract List findAll();

}